package com.sanjiahantang.youjiarole.module.me.scheme.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiarole.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/11/20.
 */

public class MeSchemeCaseListBean extends BaseBean {


    private String data;

    public Data getData() {
        return new Gson().fromJson(data, Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data extends ListBean {
        List<Item> informationList;
        List<PicList> picList;

        public List<PicList> getPicList() {
            return picList;
        }

        public void setPicList(List<PicList> picList) {
            this.picList = picList;
        }

        public List<Item> getInformationList() {
            return informationList;
        }

        public void setInformationList(List<Item> informationList) {
            this.informationList = informationList;
        }

    }

    /**
     * {
     * \"planState\": 0,
     * \"updateDate\": \"2017-11-20T03: 00: 00.000+0000\",
     * \"projectStateId\": 0,
     * \"budgetCode\": \"budget_50\",
     * \"jobCode\": \"duty_whiteCollar\",
     * \"projectRecommend\": 0,
     * \"hasTogether\": 1,
     * \"userCode\": \"2ffc00ab45b98ccda4eff0d5e3b91da8\",
     * \"ppId\": 107,
     * \"isHaveBaby\": 1,
     * \"projectPlanId\": 107,
     * \"picCaName\": \"首图\",
     * \"planId\": 107,
     * \"id\": 261,
     * \"apartmentTypeName\": \"四室以上\",
     * \"planPrice\": \"2000\",
     * \"likeStyleCode\": \"style_nordic/industrialWind\",
     * \"designStateId\": 1,
     * \"jobName\": \"洋气白领\",
     * \"planDecorateTime\": \"2018-11-09\",
     * \"address\": \"天津天津市和平区\",
     * \"idCode\": \"120114199005040012\",
     * \"sex\": \"0\",
     * \"supervisionStateId\": 0,
     * \"totalStateId\": 2,
     * \"pushStateId\": 1,
     * \"designRoleName\": \"jack\",
     * \"userName\": \"砖头\",
     * \"budgetName\": \"50万以上\",
     * \"version\": \"0\",
     * \"url\": \"https: //timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505999973067&di=f143a3fa9e88d1c09faefe78e305f243&imgtype=0&src=http%3A%2F%2Fimgsrc.baidu.com%2Fimgad%2Fpic%2Fitem%2Fa1ec08fa513d2697089aea4f5ffbb2fb4316d853.jpg\",
     * \"userRequireId\": 261,
     * \"apartmentName\": \"瓦2\",
     * \"pprId\": 7,
     * \"phone\": \"13610928895\",
     * \"createTime\": \"2017-10-23T06: 40: 50.000+0000\",
     * \"pppId\": 1001,
     * \"apartmentArea\": \"500\",
     * \"likeStyleName\": \"北欧/工业风\",
     * \"finishDate\": \"2017-11-20T02: 59: 52.000+0000\",
     * \"picCaId\": 15,
     * \"apartmentTypeCode\": \"door_four\",
     * \"isCommitOrder\": 0,
     * \"designRoleId\": \"13610928895\"
     * },
     */
    public static class Item {
        private String url;
        private String apartmentTypeName;
        private String id;
        private String likeStyleName;
        private int planId;
        private String designRoleName;
        private String apartmentArea;
        private String totalStateId;
        private String projectStateId;
        private int ppId;
        private String version;
        private String projectRoleId;

        public String getProjectRoleId() {
            return projectRoleId;
        }

        public void setProjectRoleId(String projectRoleId) {
            this.projectRoleId = projectRoleId;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public int getPpId() {
            return ppId;
        }

        public void setPpId(int ppId) {
            this.ppId = ppId;
        }

        public String getTotalStateId() {
            return totalStateId;
        }

        public void setTotalStateId(String totalStateId) {
            this.totalStateId = totalStateId;
        }

        public String getProjectStateId() {
            return projectStateId;
        }

        public void setProjectStateId(String projectStateId) {
            this.projectStateId = projectStateId;
        }

        public String getDesignRoleName() {
            return designRoleName;
        }

        public void setDesignRoleName(String designRoleName) {
            this.designRoleName = designRoleName;
        }

        public String getApartmentArea() {
            return apartmentArea;
        }

        public void setApartmentArea(String apartmentArea) {
            this.apartmentArea = apartmentArea;
        }

        public int getPlanId() {
            return planId;
        }

        public void setPlanId(int planId) {
            this.planId = planId;
        }

        private String isCommitOrder;

        public String getIsCommitOrder() {
            return isCommitOrder;
        }

        public void setIsCommitOrder(String isCommitOrder) {
            this.isCommitOrder = isCommitOrder;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getApartmentTypeName() {
            return apartmentTypeName;
        }

        public void setApartmentTypeName(String apartmentTypeName) {
            this.apartmentTypeName = apartmentTypeName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLikeStyleName() {
            return likeStyleName;
        }

        public void setLikeStyleName(String likeStyleName) {
            this.likeStyleName = likeStyleName;
        }

    }

    //方案明细
    public static class PicList {
        /**
         * \"picCaId\": 0,
         * \"picCaName\": \"户型图\",
         * \"planId\": 107,
         * \"url\": \"https: //timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1505999933950&di=ef8db3e218274f729f869237283ee29f&imgtype=0&src=http%3A%2F%2Fpic39.nipic.com%2F20140314%2F11934929_142606420333_2.jpg\"
         */
        private String url;
        private String picCaId;
        private String picCaName;
        private String planId;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getPicCaId() {
            return picCaId;
        }

        public void setPicCaId(String picCaId) {
            this.picCaId = picCaId;
        }

        public String getPicCaName() {
            return picCaName;
        }

        public void setPicCaName(String picCaName) {
            this.picCaName = picCaName;
        }

        public String getPlanId() {
            return planId;
        }

        public void setPlanId(String planId) {
            this.planId = planId;
        }
    }
}
